<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link href="/zero/resources/dijit/themes/tundra/tundra.css" type="text/css" rel="stylesheet" />
<link href="/zero/resources/styles/standard.css" media="screen" type="text/css" rel="stylesheet" />
<link href="/zero/resources/images/favicon.ico" rel="SHORTCUT ICON" />
<script type="text/javascript">
	var djConfig = {
		parseOnLoad : false,
		isDebug : false,
		locale : 'zh'
	};
</script>
<script type="text/javascript" src="/zero/resources/dojo/dojo.js"></script>
<script type="text/javascript" src="/zero/resources/spring/Spring.js"></script>
<script type="text/javascript" src="/zero/resources/spring/Spring-Dojo.js"></script>
<script type="text/javascript" language="JavaScript">
	dojo.require("dojo.parser");
</script>

</head>
<body>

	<script type="text/javascript">
		dojo.require('dijit.TitlePane');
	</script>
    
	<spring:message code="task.owner.transfer" htmlEscape="false" javaScriptEscape="true" var="panel_title"/>
	
	<div id="_title_fc_com_ibm_zero_domain_task_id">
		<script type="text/javascript">
			Spring.addDecoration(new Spring.ElementDecoration({
				elementId : '_title_fc_com_ibm_zero_domain_task_id',
				widgetType : 'dijit.TitlePane',
				widgetAttrs : {
					title : '${panel_title}',
					open : true
				}
			}));
		</script>
		
	
	<c:url value="/tasks" var="action_url">
		<c:param name="transfer"></c:param>
	</c:url>
	<form:form action="${action_url }" modelAttribute="transferForm" method="POST">
		<form:hidden path="taskId" />
		<label><spring:message code="task_transfer_to" htmlEscape="false" /></label>
		<div>
			<form:select path="transferId" items="${cadidates }" itemLabel="firstName" itemValue="id"></form:select>
		</div>
		<br>

		<!--  -->
		<spring:message code="task.owner.transfer" htmlEscape="false" var="button_label" />
		<input type="submit" value="${fn:escapeXml(button_label)}" alt="${fn:escapeXml(button_label)}" title="${fn:escapeXml(button_label)}">
	</form:form>
	
	</div>
</body>
</html>